#include <afxwin.h>
class CHelloApp : public CWinApp
{

    public:
    virtual BOOL InitInstance();
};
class CHelloWindow : public CFrameWnd
{
    public:
    CHelloWindow();

private:
    CStatic* cs;
    

};
BOOL CHelloApp::InitInstance() {
    m_pMainWnd = new CHelloWindow();
    m_pMainWnd->ShowWindow(m_nCmdShow);
    m_pMainWnd->UpdateWindow();
    return TRUE;
}
CHelloWindow::CHelloWindow() {
    Create(NULL, _T("Hello MFC"), WS_OVERLAPPED, CRect(0, 0, 500, 500));
    cs = new CStatic();
    cs->Create(_T("Hello"), WS_CHILD | WS_VISIBLE | SS_CENTER, CRect(50, 80, 150, 150), this);
}
//CHelloApp app;